<!DOCTYPE html>
<html lang="zh-cn">

<!-- Mirrored from v3.bootcss.com/examples/jumbotron-narrow/ by HTTrack Website Copier/3.x [XR&CO'2013], Sun, 26 Jan 2014 11:51:18 GMT -->
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="shortcut icon" href="../../docs-assets/ico/favicon.png">

    <title>{$arts.title} -问卷调查</title>

    <!-- Bootstrap core CSS -->
    <link href="__PUBLIC__/static/dist/css/bootstrap.css" rel="stylesheet">

    <!-- Custom styles for this template -->
    <link href="__PUBLIC__/static/jumbotron-narrow2.css" rel="stylesheet">

    <!-- Just for debugging purposes. Don't actually copy this line! -->
    <!--[if lt IE 9]>
    <script src="../../docs-assets/js/ie8-responsive-file-warning.js"></script><![endif]-->

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="http://cdn.bootcss.com/html5shiv/3.7.0/html5shiv.min.js"></script>
    <script src="http://cdn.bootcss.com/respond.js/1.3.0/respond.min.js"></script>
    <![endif]-->

    <!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
    <script src="http://cdn.bootcss.com/jquery/1.10.2/jquery.min.js"></script>
    <!-- Include all compiled plugins (below), or include individual files as needed -->
    <script src="http://cdn.bootcss.com/twitter-bootstrap/3.0.3/js/bootstrap.min.js"></script>
    <!--JS生成二维码-->
    <script type="text/javascript" src="http://cdn.staticfile.org/jquery.qrcode/1.0/jquery.qrcode.min.js"></script>
</head>

<body>


<div class="container">
 

 

    <div  ur="{:url('index/article/index')}?artid/{$id}.html" style="display: none"></div>

    <a id="qrcode_url" href="{:url('index/article/index',['artid'=>$id,'name'=>'thinkphp'])}" style="display: none">{:url('index/article/index')}/artid/{$id}.html</a>

    <div id="qrcode"></div>
    <script>

        //生成前景色为红色背景色为白色的二维码
        jQuery('#qrcode').qrcode({
            render: "canvas", //也可以替换为table
            foreground: "#333",
            background: "#fff",
            width: 230,
            height: 230,
            text: "http://"+document.domain+$("#qrcode_url").attr("href"),
        })
    </script>


</div>


</body>
</html>











